package com.ymk.dao;

import com.ymk.pojo.Role;
import org.springframework.stereotype.Repository;
import org.springframework.web.servlet.view.InternalResourceViewResolver;

import java.util.Set;

/**
 * 持久化Dao接口
 */
@Repository
public interface RoleDao {
    Set<Role> findRolesByUserId(Integer userId);
}
